package com.bwie.controller;

import com.bwie.pojo.TbClazz;
import com.bwie.service.TbClazzService;
import com.bwie.utils.R;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @projectName: school2211a
 * @package: com.bwie.controller
 * @className: IndexController
 * @author: 杨珂
 * @description: TODO
 * @date: 2025/6/21 11:03
 * @version: 1.0
 */
@RestController
@RequestMapping("/clazz/index")
public class IndexController {

    @Autowired
    TbClazzService tbClazzService;

    @PostMapping("/getClazz")
    public R getClazz() {
        return tbClazzService.getClazz();
    }


}
